package com.stu.vertx.hello.designPattern.singleton.lazyStyle;

public class SingletonMain {
    public static void main(String[] args) {

        Singleton s1 = Singleton.getSingleton();
        Singleton s2 = Singleton.getSingleton();
        Singleton s3 = Singleton.getSingleton();
        Singleton s4 = Singleton.getSingleton();

        System.out.println(s1 == s2);
        System.out.println(s2 == s3);
        System.out.println(s1 == s4);

    }
}
